﻿//====================================================================
// Create by Daniel
// file： YCUserAction.cs
// project ：YunCMS
// Build time：2012-09-22
// modify:
// description:
// ===================================================================
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using YunCMS.Model;

namespace YunCMS.IDAL
{
    /// <summary>
    /// DAL YCUserAction Interface
    /// </summary>
    public interface IYCUserActionDAL
    {
		/// <summary>
        /// Insert a YCUserAction
        /// </summary>
        int Add(Model.YCUserAction model);

        /// <summary>
        /// update a YCUserAction
        /// </summary>
        int Update(Model.YCUserAction model);

        /// <summary>
        /// delete a YCUserAction
        /// </summary>
        int Delete(int id);

        /// <summary>
        /// get the max YCUserAction
        ///</summary>
        //int GetMaxId();

        /// <summary>
        /// IsExists?
        /// </summary>
        bool IsExist(int id);

        /// <summary>
        /// Get one YCUserAction
        /// </summary>
        Model.YCUserAction GetYCUserAction(int id);

        /// <summary>
        /// Get YCUserAction List
        /// </summary>
        IList<Model.YCUserAction> GetList(string strSql);
      
    }
}



